package com.xja.chaoshi.mapper;

import com.xja.chaoshi.entity.Users;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(Users record);

    int insertSelective(Users record);
    //根据用户id返回用户
    Users selectByPrimaryKey(Integer uid);
    //根据用户账号返回用户
    Users selectByName(String loginname);
    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);
}